UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Ubuntu 22.04 LTS must have an application firewall enabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-260516 UBTU-22-251020 SV-260516r953361_rule Medium
Description
Firewalls protect computers from network attacks by blocking or limiting access to open network ports. Application firewalls limit which applications are allowed to communicate over the network.
STIG Date
Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide 2024-03-21

Details

Check Text ( C-64245r953359_chk )
Verify the Uncomplicated Firewall (ufw) is enabled on the system with the following command:

$ systemctl status ufw.service | grep -i "active:"
Active: active (exited) since Thu 2022-12-25 00:00:01 NZTD; 365 days 11h ago

If "ufw.service" is "inactive", this is a finding.

If the ufw is not installed, ask the system administrator if another application firewall is installed. If no application firewall is installed, this is a finding.
Fix Text (F-64153r953360_fix)
Enable and start the ufw by using the following command:

$ sudo systemctl enable ufw.service --now